package com.example.KeepAccounts;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;


import com.example.fresh.R;

public class MainActivityForKeepAccounts extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_keep_accounts);
    }
    public void onClick(View view)
    {
        switch (view.getId()){
            case R.id.main_btn:
                Intent intent1 = new Intent(this, RecordActivityForKeepAccounts.class);
                startActivity(intent1);
                break;
            case R.id.main_graph:
                Intent intent2 = new Intent(this, AnalysisActivityForKeepAccounts.class);
                startActivity(intent2);
            default:
                break;
        }
    }
}